package br.tce.ufs.appcoleta_mobile.database;

import android.content.Context;

public class DBManager {
	
	private static DBManager instance;
	
	static public void init(Context ctx) {
		if (null==instance) {
			instance = new DBManager(ctx);
		
		}
	}
	
	public static DBManager getInstance(){
		return instance;
	}
	
	private DBHelper db;
	private DBManager(Context ctx){
		db = new DBHelper(ctx);
	}
	
	private DBHelper getHelper(){
		return db;
	}

}
